<?php
session_start();
require_once 'header.php';
function __autoload($className)
	{
    	require_once('class/' . $className . '.class.php');
	}
session::need_member();
if(session::is_member()==true)
{
	$UserId=session::getuserid();
}
else if(session::is_manager()==true)
{
	$UserId=$_GET["userid"];
}
$GetBalance=database::LimitQuery('userinfo',array(
'condition' => array('userid' => $UserId ),
'select' => 'money'
));
echo "<font color=white >Your Balance: ".$GetBalance[0]['money']."</font>";
?>